package com.example.dao;


import com.example.pojo.DocumentVideo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface DocumentVideoCrudRepository extends CrudRepository<DocumentVideo, Integer>, JpaSpecificationExecutor<DocumentVideo> {

    Page<DocumentVideo> getDocumentVideosByStatusAndAgencyId(String status, Integer agencyId, Pageable pageable);
}
